package cn.com.netedge.iot.common.dataobject;

/**
 * 前置返回的结果基类
 */
public class CmdMsgResp extends CmdMsgBase {

    private boolean isSuccess;//是否成功
    private String message;//错误信息
    private int errorCode;//错误码

    private Object data;//返回的数据

    private String sendMsg;//原始下发的报文
    private String receiveMsg;//原始接收的报文

    private boolean prm;// 是否是响应帧

    public boolean isPrm() {
        return prm;
    }

    public void setPrm(boolean prm) {
        this.prm = prm;
    }

    public boolean isSuccess() {
        return isSuccess;
    }

    public void setSuccess(boolean isSuccess) {
        this.isSuccess = isSuccess;
    }

    public String getMessage() {
        return message;
    }

    public void setMessage(String message) {
        this.message = message;
    }

    public int getErrorCode() {
        return errorCode;
    }

    public void setErrorCode(int errorCode) {
        this.errorCode = errorCode;
    }

    public Object getData() {
        return data;
    }

    public String getSendMsg() {
        return sendMsg;
    }

    public void setSendMsg(String sendMsg) {
        this.sendMsg = sendMsg;
    }

    public String getReceiveMsg() {
        return receiveMsg;
    }

    public void setReceiveMsg(String receiveMsg) {
        this.receiveMsg = receiveMsg;
    }

}
